define(function (require, exports, module) {
    var sTpl = require("modules/table2/index.html");



    var vueComponent = Vue.extend({
        template: sTpl,
        data: function () {
            return {
                tableData: [{
                    id: '12987122',
                    fromVersion: 'v1.0.6',
                    toVersion: 'v1.0.5',
                    desc: '新增 methods.successCallBack',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }, {
                    id: '12987122',
                    fromVersion: 'v1.0.7',
                    toVersion: 'v1.0.4',
                    desc: '新增 methods.successCallBack',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }, {
                    id: '12987122',
                    fromVersion: 'v1.0.4',
                    toVersion: 'v1.0.3',
                    desc: '新增: props.hasOuterBorder,控制外边框是否需要',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }, {
                    id: '12987122',
                    fromVersion: 'v1.0.3',
                    toVersion: 'v1.0.2',
                    desc: '新增: props.hasOuterBorder,控制外边框是否需要',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }, {
                    id: '12987122',
                    fromVersion: 'v1.0.2',
                    toVersion: 'v1.0.1',
                    desc: '新增 methods.successCallBack',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }, {
                    id: '12987122',
                    fromVersion: 'v1.0.0',
                    toVersion: 'v1.0.1',
                    desc: '新增 props.returnUrl',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }, {
                    id: '12987122',
                    toVersion: 'v1.0.0',
                    fromVersion: '--',
                    desc: '初始化版本',
                    optUserName:'王孟贵',
                    optDateTime:'2017-09-10 12:00:00',
                    opt: '文件对比'
                }]
            }
        },
        methods: {

        }
    });


    Vue.component('m-cube-log-table', vueComponent); //都全局注册 同时exports

    module.exports = vueComponent;
});